﻿using System.ComponentModel.DataAnnotations;

namespace B.S.BaseData.Read.Api.Dtos
{
    public class GetMainDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int MainId { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool Sex { get; set; }
        /// <summary>
        /// 省份id
        /// </summary>
        public int EconomizeId { get; set; }
        /// <summary>
        /// 市id
        /// </summary>
        public int MarketId { get; set; }
        /// <summary>
        /// 县id
        /// </summary>
        public int CityId { get; set; }
        /// <summary>
        /// 地址详情
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public int modifyId { get; set; }
        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; } = true;
        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickName { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string MarketName { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string EconomizeName { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string CityName { get; set; }
        /// <summary>
        /// 角色id
        /// </summary>
        public string RoleId { get; set; }
    }
}
